﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Scheduling.Models;
using System.Data.Linq.Mapping;

namespace Scheduling.Models.Repos.Database.Objects
{
    [Table(Name="Users")]
    public class DBUser
    {
        [Column]
        public string ID { get; set; }

        [Column]
        public int GroupID { get; set; }

        [Column]
        public string FirstName { get; set; }

        [Column]
        public string LastName { get; set; }

        [Column]
        public string Password { get; set; }

        [Column]
        public string Email { get; set; }

        [Column]
        public string Phone { get; set; }

        [Column]
        public int DepartmentID { get; set; }

        [Column]
        public string ResetHash { get; set; }
    }
}